Klasse InfoData
java.lang.Object
com.inet.pdfc.generator.message.InfoData
- Alle implementierten Schnittstellen:
Chunk, Serializable
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen Chunk
Chunk.ChunkType -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungreturns the file of the secondPDF being comparedintreturns the total number of pages in the first PDFReturns the profile which was used for this comparison run.returns the file of the first PDF being comparedintreturns the total number of pages in the second PDFgetType()Returns the type of this chunk
-
Konstruktordetails
-
InfoData
public InfoData(PdfSource f1, PdfSource f2, int firstTotalPages, int secondTotalPages, IProfile comparisonConfig) default constructor with necessary dependencies- Parameter:
f1- file of the first PDF being comparedf2- file of the second PDF being comparedfirstTotalPages- total number of pages in the first PDF, use -1 for uninitializedsecondTotalPages- total number of pages in the second PDF, use -1 for uninitializedcomparisonConfig- the configuration used to create the current results, ifnullaDefaultProfilewill be used furthermore used as a hint for the garbage collector.- Seit:
- 4.0
-
InfoData
creates the instance for not yet parsed files. In that case the page count is undefined and will be set to -1- Parameter:
f1- file of the first PDF being comparedf2- file of the second PDF being comparedcomparisonConfig- the configuration used to create the current results, ifnullaDefaultProfilewill be used- Seit:
- 4.0
-
-
Methodendetails
-
getSecondFile
returns the file of the first PDF being compared- Gibt zurück:
- the file of the first PDF being compared, can be
nullif a file is missing in batch mode! - Seit:
- 4.0
-
getFirstFile
returns the file of the secondPDF being compared- Gibt zurück:
- the file of the second PDF being compared, can be
nullif a file is missing in batch mode! - Seit:
- 4.0
-
getFirstPageCount
public int getFirstPageCount()returns the total number of pages in the first PDF- Gibt zurück:
- the total number of pages in the first PDF, -1 if uninitialized
- Seit:
- 5.0
-
getSecondPageCount
public int getSecondPageCount()returns the total number of pages in the second PDF- Gibt zurück:
- the total number of pages in the secondPDF, -1 if uninitialized
- Seit:
- 5.0
-
getProfile
Returns the profile which was used for this comparison run. The returned instance is a copy of the profile used by the comparer.- Gibt zurück:
- the compare profile, never
null - Seit:
- 4.0
-
getType
Returns the type of this chunk
-